/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package healthcare.coursework.service;

import healthcare.coursework.model.Facility;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Administrator
 */
@Remote
public interface FacilityService {
        List<Facility> listOfFacilities();
        Facility findFacility(Long facilityId);
        void updateFacility(Facility facility);
        void addFacility(String facilityName, String type, String description);
        void remove(Long facilityId);
        void recover(Long facilityId);
        void removeForever(Long facilityId);

    public java.util.List<healthcare.coursework.model.Facility> listOfFacilities(java.lang.String name);
}
